package com.example.cognitivesystemserver.Exceptions;

public class ParamsException  extends RuntimeException{

    private Integer code=300;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ParamsException(String message){
            super(message);
            msg=message;
    }

}
